<!DOCTYPE html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
  <title>HTML</title>

  <link rel="shortcut icon" href="/favicon.ico">
  <link rel="apple-touch-icon" href="/apple-touch-icon.png">
  <link rel="stylesheet" type="text/css" href="../../css/api.css" />
  <link rel="stylesheet" type="text/css" href="../../css/aui.css" />

	<style>
		html,body {width: 100%;height: 100%;background:transparent;}
    .aui-toast {
      min-height: 1rem;
    }
    .aui-toast-content {
      margin: 10px 0;
      color: #fff;
    }
	</style>
</head>
<body>
</body>
<script type="text/javascript" src="../../script/api.js"></script>
<script type="text/javascript" src="../../script/aui-toast.js"></script>
<script>
    apiready = function(){
        var toast = new auiToast({})
        toast.custom({
          title:api.pageParam.title, // 取消收藏
          html:'',
          duration:2000
        })
        setTimeout(function () {
          api.closeFrame({name:'collection'});
        }, 2000)
    }
</script>
</html>